package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName UpdateBatchGroupGroupInfoRequest
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/6/28 14:30
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "修改广告组信息的请求参数")
public class UpdateGroupInfoRequest {
    @ApiModelProperty(value = "广告主ID",required =true)
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;
    @ApiModelProperty(value = "广告组ID",required =true)
    @NotNull(message = "广告组ID不能为空")
    private Long campaign_id;
    @ApiModelProperty(value = "广告组名称")
    private String campaign_name;
    @ApiModelProperty(value = "时间戳（从/oCeanengine/group/getGroup接口得到,用于判断是否基于最新信息修改，正确获取与填写，以免报错！)",required =true)
    @NotNull(message = "时间戳不能为空")
    private String modify_time;
    @ApiModelProperty(value = "广告组预算类型.允许值:\"BUDGET_MODE_INFINITE\",\"BUDGET_MODE_DAY\"")
    private String budget_mode;
    @ApiModelProperty(value = "广告组预算(当budget_mode=BUDGET_MODE_DAY时,广告组日预算不能低于1000元,预算单次修改幅度不能低于100元)取值范围: ≥ 0")
    private Long budget;
}
